6e64727a4150940ddcc031199f376a6b1cb445eb,platform/lang-impl/src/com/intellij/codeInsight/daemon/impl/DaemonCodeAnalyzerImpl.java,DaemonCodeAnalyzerImpl,runMainPasses,#PsiFile#Document#ProgressIndicator#,155

Before Change



    LocalInspectionsPass action3 = new LocalInspectionsPass(psiFile, document, 0,
                                                            psiFile.getTextLength(), LocalInspectionsPass.EMPTY_PRIORITY_RANGE, true);
    action3.doCollectInformation(progress);

    result.addAll(action3.getInfos());

After Change


    result.addAll(action1.getHighlights());

    final VirtualFile virtualFile = psiFile.getVirtualFile();
    if (virtualFile != null && !virtualFile.getFileType().isBinary()) {
      LocalInspectionsPass action3 = new LocalInspectionsPass(psiFile, document, 0,
                                                              psiFile.getTextLength(), LocalInspectionsPass.EMPTY_PRIORITY_RANGE, true);
      action3.doCollectInformation(progress);

      result.addAll(action3.getInfos());
    }